﻿
namespace Stimulus360.Controllers
{
    /// <summary>
    ///     Class represening Viewmodel for Rating control
    /// </summary>
    public class RatingViewModel
    {
        /// <summary>
        ///     Project/Idea Id for which rating is being displayed
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        ///     Rating to be shown
        /// </summary>
        public double AverageRating { get; set; }

        /// <summary>
        ///     Bool representing if rating is enabled or readonly
        /// </summary>
        public bool IsDisabled { get; set; }

        /// <summary>
        /// Idea Id for which rating is being displayed
        /// </summary>
        public int IdeaId { get; set; }

    }
}
